package com.oa.resources.domain;

import com.oa.common.annotation.Excel;
import com.oa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资源管理对象 oa_resources
 * 
 * @author li.ziye
 * @date 2022-05-18
 */
public class OaResources extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资源ID */
    private Long resourcesId;

    /** 资源名称 */
    @Excel(name = "资源名称")
    private String resourcesName;

    /** 资源类型 */
    @Excel(name = "资源类型")
    private String resourcesType;

    /** 资源存储路径 */
    private String resourcesPath;

    /** 资源后缀名 */
    private String resourcesExt;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setResourcesId(Long resourcesId) 
    {
        this.resourcesId = resourcesId;
    }

    public Long getResourcesId() 
    {
        return resourcesId;
    }
    public void setResourcesName(String resourcesName) 
    {
        this.resourcesName = resourcesName;
    }

    public String getResourcesName() 
    {
        return resourcesName;
    }
    public void setResourcesType(String resourcesType) 
    {
        this.resourcesType = resourcesType;
    }

    public String getResourcesType() 
    {
        return resourcesType;
    }
    public void setResourcesPath(String resourcesPath) 
    {
        this.resourcesPath = resourcesPath;
    }

    public String getResourcesPath() 
    {
        return resourcesPath;
    }
    public void setResourcesExt(String resourcesExt) 
    {
        this.resourcesExt = resourcesExt;
    }

    public String getResourcesExt() 
    {
        return resourcesExt;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("resourcesId", getResourcesId())
            .append("resourcesName", getResourcesName())
            .append("resourcesType", getResourcesType())
            .append("resourcesPath", getResourcesPath())
            .append("resourcesExt", getResourcesExt())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
